package com.sunreal.paygateway.dao.model;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * Table: t_pay_channel
 */
@Data
public class PayChannel implements Serializable {
    /**
     * 渠道主键ID
     *
     * Table:     t_pay_channel
     * Column:    id
     * Nullable:  false
     */
    private Integer id;

    /**
     * 渠道ID
     *
     * Table:     t_pay_channel
     * Column:    ChannelId
     * Nullable:  false
     */
    private String channelid;

    /**
     * 渠道名称,如:alipay,wechat
     *
     * Table:     t_pay_channel
     * Column:    ChannelName
     * Nullable:  false
     */
    private String channelname;

    /**
     * 渠道商户ID
     *
     * Table:     t_pay_channel
     * Column:    ChannelMchId
     * Nullable:  false
     */
    private String channelmchid;

    /**
     * 商户ID
     *
     * Table:     t_pay_channel
     * Column:    MchId
     * Nullable:  false
     */
    private String mchid;

    /**
     * 渠道状态,0-停止使用,1-使用中
     *
     * Table:     t_pay_channel
     * Column:    State
     * Nullable:  false
     */
    private Byte state;

    /**
     * 配置参数,json字符串
     *
     * Table:     t_pay_channel
     * Column:    Param
     * Nullable:  false
     */
    private String param;

    /**
     * 备注
     *
     * Table:     t_pay_channel
     * Column:    Remark
     * Nullable:  true
     */
    private String remark;

    /**
     * 创建时间
     *
     * Table:     t_pay_channel
     * Column:    CreateTime
     * Nullable:  false
     */
    private Date createtime;

    /**
     * 更新时间
     *
     * Table:     t_pay_channel
     * Column:    UpdateTime
     * Nullable:  false
     */
    private Date updatetime;

    private static final long serialVersionUID = 1L;
}